<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>selector-composite</title>
  <link rel="stylesheet" href="css/composite.css">
</head>

<body>
  <div class="nav">
    <a href="#">儿子标签</a>
    <p>
      <a href="#">孙子标签</a>
    </p>
  </div>
  <ul>
    <li>I'm a list under unsorted lists.</li>
    <li>I'm a list under unsorted lists.</li>
    <li>
      <a href="#">I'm a list under unsorted lists.</a>
    </li>
  </ul>
  <ol>
    <li>I'm a list under ordered lists.</li>
    <li>I'm a list under ordered lists.</li>
    <li>
      <a href="#">I'm a list under ordered lists.</a>
    </li>
  </ol>

  <div class="test">
    <p>red</p>
    <div>
      <span>red</span>
    </div>
  </div>
  <br>
  <div class="link">
    <a href="#">click here！</a>
  </div>
  <br>
  <div class="form">
    <input type="text">
    <input type="text">
    <input type="text">
  </div>
</body>

</html>